CC=sw5gcc
CFLAGS=-D__sw_thl__ -I../qthread-mod -DBACKEND_ATHREAD
all: libhthread.a
libhthread.a: hthread.o
	ar cr $@ $^
hthread.o: hthread.c
	$(CC) -mhost $(CFLAGS) -c $< -o $@
